2006-09-10 Matthias Clasen <mclasen@redhat.com>
+ * Commit a patch by Behdad to fix typos, omissions and other
+ errors in the symbol aliasing, and add checks for local PLT
+ entries. (#354687, Behdad Esfahbod)
+
* gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
the flush timeout. (#354043, Nelson Benitez)
$(PERL) $(srcdir)/makegdkpixbufalias.pl -def < $(srcdir)/gdk-pixbuf.symbols > gdk-pixbuf-aliasdef.c
if OS_LINUX
-TESTS = abicheck.sh
+TESTS = abicheck.sh pltcheck.sh
endif
lib_LTLIBRARIES = \
-DGTK_SYSCONFDIR=\"$(sysconfdir)\" \
-DGTK_VERSION=\"$(GTK_VERSION)\" \
-DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\" \
- -DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGTK_PREFIX=\"$(prefix)\" \
$(INCLUDED_LOADER_DEFINE) \
$(GTK_DEBUG_FLAGS) \
cpp -DINCLUDE_VARIABLES -P -DALL_FILES ${srcdir:-.}/gdk-pixbuf.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
nm -D -g --defined-only .libs/libgdk_pixbuf-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
-diff -u expected-abi actual-abi && rm expected-abi actual-abi
+diff -u expected-abi actual-abi && rm -f expected-abi actual-abi
#define __GDK_PIXBUF_IO_C__
#include "gdk-pixbuf-aliasdef.c"
-
-
-
-
#define GDK_PIXBUF_COMPILATION
#include "gdk-pixbuf.h"
#include "gdk-pixbuf-private.h"
+/* Include the marshallers */
+#include <glib-object.h>
+#include "gdk-pixbuf-marshal.c"
#include "gdk-pixbuf-alias.h"
static void gdk_pixbuf_finalize (GObject *object);
}
}
-\f
-
-/* Include the marshallers */
-#include <glib-object.h>
-#include "gdk-pixbuf-marshal.c"
-
#define __GDK_PIXBUF_C__
#include "gdk-pixbuf-aliasdef.c"
* Boston, MA 02111-1307, USA.
*/
#include <config.h>
-#include "gdk-pixdata.h"
#include "gdk-pixbuf-private.h"
+#include "gdk-pixdata.h"
#include "gdk-pixbuf-alias.h"
#include <string.h>
--- /dev/null
+#!/bin/sh
+
+LANG=C
+
+status=0
+
+if ! which readelf 2>/dev/null >/dev/null; then
+ echo "'readelf' not found; skipping test"
+ exit 0
+fi
+
+for so in .libs/libgdk_pixbuf*.so; do
+ echo Checking $so for local PLT entries
+ readelf -r $so | grep 'JU\?MP_SLOT' | grep 'gdk_pixbuf' && status=1
+done
+
+exit $status
-I$(top_srcdir) \
-I$(top_builddir)/gdk \
-I$(top_srcdir)/gdk-pixbuf \
- -DGDK_PIXBUF_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED \
+ -DGDK_PIXBUF_DISABLE_DEPRECATED \
$(GTK_DEBUG_FLAGS) \
$(GDK_DEP_CFLAGS)
$(PERL) $(srcdir)/makegdkalias.pl -def < $(srcdir)/gdk.symbols > gdkaliasdef.c
if OS_LINUX
-TESTS = abicheck.sh
+TESTS = pltcheck.sh abicheck.sh
endif
cpp -DINCLUDE_VARIABLES -P -DALL_FILES -DGDK_ENABLE_BROKEN -DGDK_WINDOWING_X11 ${srcdir:-.}/gdk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' | sort | uniq > expected-abi
nm -D -g --defined-only .libs/libgdk-x11-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
-diff -u expected-abi actual-abi && rm expected-abi actual-abi
+diff -u expected-abi actual-abi && rm -f expected-abi actual-abi
#endif
#if IN_HEADER(__GDK_H__)
-#if IN_FILE(__GDK_INPUT_C__)
+#if IN_FILE(__GDK_EVENTS_C__)
#ifndef GDK_DISABLE_DEPRECATED
gdk_input_add
gdk_input_remove
gdk_input_add_full
#endif
-#ifdef GTK_COMPILATION
-gdk_input_add_full
-#endif
#endif
#endif
gdk_window_clear_area_e
gdk_window_constrain_size
gdk_window_destroy
-#ifndef GDK_DISABLE_DEPRECATED
-gdk_window_destroy_notify
-#endif
gdk_window_end_paint
gdk_window_foreign_new
gdk_window_freeze_updates
#endif
#endif
+#if IN_HEADER(__GDK_PRIVATE_H__)
+#if IN_FILE(__GDK_WINDOW_X11_C__)
+gdk_window_destroy_notify
+#endif
+#endif
+
#ifdef GDK_WINDOWING_WIN32
#if IN_HEADER(__GDK_WIN32_H__)
#if IN_FILE(__GDK_WIN32ID_C__)
#include "gdktypes.h"
#include "gdkprivate.h"
+#include "gdkalias.h"
guint _gdk_debug_flags = 0;
gint _gdk_error_code = 0;
#include "gdkrgb.h"
#include "gdkprivate.h"
#include "gdkscreen.h"
-#include "gdkalias.h"
-
#include "gdkintl.h"
+#include "gdkalias.h"
#define GDK_INFO_KEY "gdk-info"
--- /dev/null
+#!/bin/sh
+
+LANG=C
+
+status=0
+
+if ! which readelf 2>/dev/null >/dev/null; then
+ echo "'readelf' not found; skipping test"
+ exit 0
+fi
+
+for so in .libs/lib*.so; do
+ echo Checking $so for local PLT entries
+ readelf -r $so | grep 'JU\?MP_SLOT' | grep -v 'gdk_pixbuf' | grep gdk && status=1
+done
+
+exit $status
-I$(top_srcdir)/gdk \
-I$(top_builddir)/gdk \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED \
$(GTK_DEBUG_FLAGS) \
$(GDK_DEP_CFLAGS)
#include "gdktypes.h"
#include "gdkprivate-x11.h"
+#include "gdkalias.h"
gboolean _gdk_use_xshm = TRUE; /* used as a cmd line arg */
Display *gdk_display = NULL;
-I$(top_srcdir)/gdk-pixbuf -I../gdk-pixbuf \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED \
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED \
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
$(GTK_DEBUG_FLAGS) \
gtkaliasdef.c: gtk.symbols
$(PERL) $(srcdir)/makegtkalias.pl -def < $(srcdir)/gtk.symbols > gtkaliasdef.c
+check-aliases:
+ @$(TESTS_ENVIRONMENT) $(srcdir)/aliasfilescheck.sh
+
+.PHONY: check-aliases
+
+TESTS_ENVIRONMENT = gtk_all_c_sources="$(gtk_all_c_sources)"
+TESTS = aliasfilescheck.sh
if OS_LINUX
-TESTS = abicheck.sh
+TESTS += abicheck.sh pltcheck.sh
endif
# libtool stuff: set version and export symbols for resolving
# Installed header files without compatibility guarantees
-# that are not include in gtk/gtk.h
+# that are not included in gtk/gtk.h
gtk_semi_private_h_sources = \
gtktextlayout.h \
gtkfilesystem.h
gtkfilechooserutils.h \
gtkfilesystemmodel.h \
gtkfilesystemunix.h \
+ gtkhsv.h \
gtkiconcache.h \
+ gtkintl.h \
+ gtkkeyhash.h \
+ gtkmnemonichash.h \
gtkpathbar.h \
gtkplugprivate.h \
gtkprintoperation-private.h\
gtksequence.h \
gtksocketprivate.h \
gtktextbtree.h \
+ gtktextbufferserialize.h\
gtktextchildprivate.h \
gtktextiterprivate.h \
gtktextmarkprivate.h \
gtkwindow-decorate.h
# GTK+ C sources to build the library from
-gtk_c_sources = \
+gtk_base_c_sources = \
fnmatch.c \
gtkaboutdialog.c \
gtkaccelgroup.c \
gtkhscrollbar.c \
gtkhseparator.c \
gtkhsv.c \
- gtkhsv.h \
gtkiconcache.c \
gtkiconfactory.c \
gtkicontheme.c \
gtkimmodule.c \
gtkimmulticontext.c \
gtkinputdialog.c \
- gtkintl.h \
gtkinvisible.c \
gtkitem.c \
gtkitemfactory.c \
gtkkeyhash.c \
- gtkkeyhash.h \
gtklabel.c \
gtklayout.c \
gtklinkbutton.c \
gtkmessagedialog.c \
gtkmisc.c \
gtkmnemonichash.c \
- gtkmnemonichash.h \
gtkmodules.c \
gtknotebook.c \
gtkobject.c \
gtktextbuffer.c \
gtktextbufferrichtext.c \
gtktextbufferserialize.c\
- gtktextbufferserialize.h\
gtktextchild.c \
gtktextdisplay.c \
gtktextiter.c \
- gtktextiterprivate.h \
gtktextlayout.c \
gtktextmark.c \
- gtktextmarkprivate.h \
gtktextsegment.c \
gtktexttag.c \
gtktexttagtable.c \
gtkwidget.c \
gtkwindow-decorate.c \
gtkwindow.c \
- xembed.h \
$(gtk_clipboard_dnd_c_sources)
+gtk_c_sources = $(gtk_base_c_sources)
+gtk_all_c_sources = $(gtk_base_c_sources)
-if OS_UNIX
-gtk_private_h_sources += \
- gtkfilesystemunix.h \
- gtkprintbackend.h \
- gtkprinter-private.h \
- gtkprinteroption.h \
- gtkprinteroptionset.h \
- gtkprinteroptionwidget.h
-
-gtk_c_sources += \
+gtk_os_unix_c_sources = \
gtkfilesystemunix.c \
gtkpagesetupunixdialog.c \
gtkprinter.c \
gtkprintoperation-unix.c \
gtkprintunixdialog.c \
gtkprintbackend.c
+gtk_all_c_sources += $(gtk_os_unix_c_sources)
+if OS_UNIX
+gtk_private_h_sources += \
+ gtkfilesystemunix.h \
+ gtkprintbackend.h \
+ gtkprinter-private.h \
+ gtkprinteroption.h \
+ gtkprinteroptionset.h \
+ gtkprinteroptionwidget.h
+gtk_c_sources += $(gtk_os_unix_c_sources)
endif
-if OS_WIN32
-gtk_private_h_sources += gtkfilesystemwin32.h gtkprint-win32.h
-
-gtk_c_sources += \
+gtk_os_win32_c_sources = \
gtkfilesystemwin32.c \
gtkprint-win32.c \
gtkprintoperation-win32.c
+gtk_all_c_sources += $(gtk_os_win32_c_sources)
+if OS_WIN32
+gtk_private_h_sources += gtkfilesystemwin32.h gtkprint-win32.h
+gtk_c_sources += $(gtk_os_win32_c_sources)
endif
-if USE_X11
-gtk_private_h_sources += gtkxembed.h gtktrayicon.h
-gtk_c_sources += \
+gtk_use_x11_c_sources = \
gtkplug-x11.c \
gtksocket-x11.c \
gtkxembed.c \
gtktrayicon-x11.c
+gtk_use_win32_c_sources = \
+ gtkplug-win32.c \
+ gtksocket-win32.c \
+ gtkwin32embed.c \
+ gtkwin32embedwidget.c
+gtk_use_stuc_c_sources = \
+ gtkplug-stub.c \
+ gtksocket-stub.c
+gtk_all_c_sources += $(gtk_use_x11_c_sources) $(gtk_use_win32_c_sources) $(gtk_use_stuc_c_sources)
+if USE_X11
+gtk_private_h_sources += gtkxembed.h gtktrayicon.h xembed.h
+gtk_c_sources += $(gtk_use_x11_c_sources)
else
if USE_WIN32
gtk_private_h_sources += gtkwin32embed.h gtkwin32embedwidget.h
-gtk_c_sources += gtkplug-win32.c gtksocket-win32.c gtkwin32embed.c gtkwin32embedwidget.c
+gtk_c_sources += $(gtk_use_win32_c_sources)
else
-gtk_c_sources += gtkplug-stub.c gtksocket-stub.c
+gtk_c_sources += $(gtk_use_stub_c_sources)
endif
endif
gtkmarshal.h \
gtktypebuiltins.h
-# built sources that don't get installed
+# built headers that don't get installed
gtk_built_private_headers = \
gtkalias.h \
gtkmarshalers.h \
gtkaliasdef.c \
gtktypebuiltins.c \
gtkmarshalers.c \
- gtkmarshalers.h \
gtkmarshal.c \
${gtk_built_private_headers} \
${gtk_built_public_sources}
&& rm -f xgen-gmlh \
&& echo timestamp > $(@F)
gtkmarshalers.c: @REBUILD@ gtkmarshalers.list
- (echo "#include \"gtkalias.h\""; $(GLIB_GENMARSHAL) --prefix=_gtk_marshal $(srcdir)/gtkmarshalers.list --body) >> xgen-gmlc \
+ (echo "#include \"gtkmarshalers.h\""; \
+ echo "#include \"gtkalias.h\""; \
+ $(GLIB_GENMARSHAL) --prefix=_gtk_marshal $(srcdir)/gtkmarshalers.list --body) >> xgen-gmlc \
&& cp xgen-gmlc gtkmarshalers.c \
&& rm -f xgen-gmlc
&& rm -f xgen-gmh \
&& echo timestamp > $(@F)
gtkmarshal.c: @REBUILD@ gtkmarshal.list
- (echo "#include \"gtkalias.h\""; $(GLIB_GENMARSHAL) --prefix=gtk_marshal $(srcdir)/gtkmarshal.list --body) >> xgen-gmc \
+ (echo "#include \"gtkmarshal.h\""; \
+ echo "#include \"gtkalias.h\""; \
+ $(GLIB_GENMARSHAL) --prefix=gtk_marshal $(srcdir)/gtkmarshal.list --body; \
+ echo "#define __gtk_marshal_MARSHAL_C__"; \
+ echo "#include \"gtkaliasdef.c\"") >> xgen-gmc \
&& cp xgen-gmc gtkmarshal.c \
&& rm -f xgen-gmc
cpp -DINCLUDE_VARIABLES -P -DG_OS_UNIX -DGTK_WINDOWING_X11 -DALL_FILES ${srcdir:-.}/gtk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' | sort > expected-abi
nm -D -g --defined-only .libs/libgtk-x11-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
-diff -u expected-abi actual-abi && rm expected-abi actual-abi
+diff -u expected-abi actual-abi && rm -f expected-abi actual-abi
--- /dev/null
+#! /bin/sh
+
+if test "x$gtk_all_c_sources" = x; then
+ echo gtk_all_c_sources variable not defined
+ exit 1
+fi
+
+grep 'IN_FILE' gtk.symbols | sed 's/.*(//;s/).*//' | grep __ | sort -u > expected-files
+grep '^ *# *define __' $gtk_all_c_sources | sed 's/.*define //;s/ *$//' | sort > actual-files
+
+diff expected-files actual-files && rm -f expected-files actual-files
+
#endif
#endif
-#if IN_HEADER(__GTK_MENU_CHECK_ITEM_H__)
-#if IN_FILE(__GTK_MENU_CHECK_ITEM_C__)
+#if IN_HEADER(__GTK_CHECK_MENU_ITEM_H__)
+#if IN_FILE(__GTK_CHECK_MENU_ITEM_C__)
gtk_check_menu_item_get_active
gtk_check_menu_item_get_draw_as_radio
gtk_check_menu_item_get_inconsistent
#endif
#endif
-#if IN_HEADER(__C_TREE_H__)
-#if IN_FILE(__G_TREE_C__)
+#if IN_HEADER(__GTK_CTREE_H__)
+#if IN_FILE(__GTK_CTREE_C__)
#ifndef GTK_DISABLE_DEPRECATED
gtk_ctree_collapse
gtk_ctree_collapse_recursive
#ifdef G_OS_WIN32
gtk_file_system_win32_get_type G_GNUC_CONST
gtk_file_system_win32_new
-_gtk_file_system_win32_path_compare
#endif
#endif
#endif
#endif
#endif
-#if IN_HEADER(__GTK_FONSEL_H__)
-#if IN_FILE(__GTK_FONSEL_C__)
+#if IN_HEADER(__GTK_FONTSEL_H__)
+#if IN_FILE(__GTK_FONTSEL_C__)
gtk_font_selection_dialog_get_font_name
gtk_font_selection_dialog_get_preview_text
gtk_font_selection_dialog_get_type G_GNUC_CONST
#endif
#endif
-#if IN_HEADER(__GTK_ITEM__FACTORY_H__)
+#if IN_HEADER(__GTK_ITEM_FACTORY_H__)
#if IN_FILE(__GTK_ITEM_FACTORY_C__)
#ifndef GTK_DISABLE_DEPRECATED
gtk_item_factories_path_delete
#if IN_HEADER(__gtk_marshal_MARSHAL_H__)
#if IN_FILE(__gtk_marshal_MARSHAL_C__)
+#ifndef GTK_DISABLE_DEPRECATED
gtk_marshal_BOOLEAN__POINTER
gtk_marshal_BOOLEAN__POINTER_INT_INT
gtk_marshal_BOOLEAN__POINTER_INT_INT_UINT
gtk_marshal_VOID__UINT_STRING
#endif
#endif
+#endif
#if IN_HEADER(__GTK_MENU_BAR_H__)
#if IN_FILE(__GTK_MENU_BAR_C__)
#endif
#endif
-#if IN_HEADER(__GTK_VBUTTONBOX_H__)
-#if IN_FILE(__GTK_VBUTTONBOX_C__)
+#if IN_HEADER(__GTK_VBBOX_H__)
+#if IN_FILE(__GTK_VBBOX_C__)
+#ifndef GTK_DISABLE_DEPRECATED
gtk_vbutton_box_get_layout_default
gtk_vbutton_box_get_spacing_default
-gtk_vbutton_box_get_type G_GNUC_CONST
-gtk_vbutton_box_new
gtk_vbutton_box_set_layout_default
gtk_vbutton_box_set_spacing_default
#endif
+gtk_vbutton_box_get_type G_GNUC_CONST
+gtk_vbutton_box_new
+#endif
#endif
-#if IN_HEADER(__GTK_VIEPORT_H__)
-#if IN_FILE(__GTK_VIEPORT_C__)
+#if IN_HEADER(__GTK_VIEWPORT_H__)
+#if IN_FILE(__GTK_VIEWPORT_C__)
gtk_viewport_get_hadjustment
gtk_viewport_get_shadow_type
gtk_viewport_get_type G_GNUC_CONST
#endif
#endif
+#if IN_HEADER(__GTK_WIN32_EMBED_WIDGET_H__)
+#if IN_FILE(__GTK_WIN32_EMBED_WIDGET_C__)
+#ifdef G_OS_WIN32
+gtk_win32_embed_widget_get_type G_GNUC_CONST
+#endif
+#endif
+#endif
+
#ifdef INCLUDE_VARIABLES
gtk_binary_age
gtk_interface_age
#undef GTK_DISABLE_DEPRECATED
#include "gtkcalendar.h"
-#define GTK_DISABLE_DEPRECATED
#include "gtkdnd.h"
#include "gtkintl.h"
#include "gtkmain.h"
#include "gtkmarshalers.h"
#include "gtkintl.h"
-#include "gtkalias.h"
#include "gtktextbuffer.h"
-
#include "gtkquartz.h"
+#include "gtkalias.h"
enum {
OWNER_CHANGE,
#include "gtkstock.h"
#include "gtkwindow.h"
#include "gtkintl.h"
-#include "gtkalias.h"
-
#include "gtkquartz.h"
+#include "gtkalias.h"
#include "gdk/quartz/gdkquartz.h"
typedef struct _GtkDragSourceSite GtkDragSourceSite;
#include "gtkstock.h"
#include "gtkwindow.h"
#include "gtkintl.h"
+#include "gtkdndcursors.h"
#include "gtkalias.h"
static GSList *source_widgets = NULL;
* Cursor and Icon data *
************************/
-#include "gtkdndcursors.h"
-
static struct {
GdkDragAction action;
const gchar *name;
#include "gtkintl.h"
#include "gtkprivate.h"
#include <gdk/gdkkeysyms.h>
-#include "gtkalias.h"
#include "gtkdnd.h"
+#include "gtkalias.h"
#define GTK_EXPANDER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_EXPANDER, GtkExpanderPrivate))
return GTK_TREE_MODEL (model);
}
-
-#define __GTK_FILE_CHOOSER_DEFAULT_C__
-#include "gtkaliasdef.c"
GTK_FILE_CHOOSER_EMBED_GET_IFACE (chooser_embed)->get_resizable_hints (chooser_embed, resize_horizontally, resize_vertically);
}
-
-#define __GTK_FILE_CHOOSER_EMBED_C__
-#include "gtkaliasdef.c"
return retval;
}
-
-#define __GTK_FILE_CHOOSER_ENTRY_C__
-#include "gtkaliasdef.c"
#include <string.h>
#include <glib/gi18n-lib.h>
#include "gtkfilechoosersettings.h"
+#include "gtkalias.h"
/* Increment this every time you change the configuration format */
#define CONFIG_VERSION 0
g_signal_emit_by_name (data, "confirm-overwrite", &conf);
return conf;
}
-
-#define __GTK_FILE_CHOOSER_UTILS_C__
-#include "gtkaliasdef.c"
#undef GTK_DISABLE_DEPRECATED
#include "gtkoptionmenu.h"
-#define GTK_DISABLE_DEPRECATED
#define WANT_HPANED 1
#include "gtkhpaned.h"
#include "gtkicontheme.h"
#include "gtkmodules.h"
#include "gtkintl.h"
-#include "gtkalias.h"
#include "gtkstock.h"
+#include "gtkalias.h"
#include <string.h>
{
do_files_removed (model, NULL, paths);
}
-
-#define __GTK_FILE_SYSTEM_MODEL_C__
-#include "gtkaliasdef.c"
#include "gtkdebug.h"
#include "gtkiconcache.h"
+#include "gtkalias.h"
+
#include <glib/gstdio.h>
#include <gdk-pixbuf/gdk-pixdata.h>
#undef GTK_DISABLE_DEPRECATED
#include "gtkoptionmenu.h"
-#define GTK_DISABLE_DEPRECATED
#include "gtkintl.h"
#include "gtkalias.h"
#undef GTK_DISABLE_DEPRECATED
#include "gtkitemfactory.h"
#include "gtkoptionmenu.h"
-#define GTK_DISABLE_DEPRECATED
#include "gtkmenubar.h"
#include "gtkmenu.h"
#include "gtkmenuitem.h"
#endif
#include <stdio.h>
-#include "gtkalias.h"
+#include "gtkalias.h"
/* --- defines --- */
#define ITEM_FACTORY_STRING ((gchar*) item_factory_string)
*/
#include "gtkmnemonichash.h"
+#include "gtkalias.h"
struct _GtkMnemnonicHash
{
#include "gtkdebug.h"
#include "gtkprivate.h" /* GTK_LIBDIR */
#include "gtkintl.h"
+#include "gtkalias.h"
#include <gmodule.h>
#include <pango/pango-utils.h> /* For pango_split_file_list */
#include "gtkmarshalers.h"
#include "gtkbindings.h"
#include "gtkprivate.h"
-#include "gtkalias.h"
#include "gtkdnd.h"
+#include "gtkalias.h"
#define SCROLL_DELAY_FACTOR 5
#define SCROLL_THRESHOLD 12
#undef GTK_DISABLE_DEPRECATED
#include "gtkoptionmenu.h"
-#define GTK_DISABLE_DEPRECATED
#include "gtkprivate.h"
#include "gtkalias.h"
}
}
}
+
+#define __GTK_PATH_BAR_C__
+#include "gtkaliasdef.c"
* Boston, MA 02111-1307, USA.
*/
-#ifndef __GTK_PATH_BAR__
-#define __GTK_PATH_BAR__
+#ifndef __GTK_PATH_BAR_H__
+#define __GTK_PATH_BAR_H__
#include "gtkcontainer.h"
#include "gtkfilesystem.h"
G_END_DECLS
-#endif /* __GTK_PATH_BAR__ */
+#endif /* __GTK_PATH_BAR_H__ */
#include "gtkplug.h"
#include "gtkplugprivate.h"
+#include "gtkalias.h"
GdkNativeWindow
_gtk_plug_windowing_get_id (GtkPlug *plug)
#include "win32/gdkwin32.h"
#include "gtkwin32embed.h"
+#include "gtkalias.h"
#if defined(_MSC_VER) && (WINVER < 0x0500)
#ifndef GA_PARENT
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "gtkalias.h"
#include "gtkmain.h"
#include "gtkmarshalers.h"
#include "gtkplug.h"
#include "x11/gdkx.h"
#include "gtkxembed.h"
+#include "gtkalias.h"
static void xembed_set_info (GdkWindow *window,
unsigned long flags);
#include "gtkprinter-private.h"
#include "gtkprintjob.h"
#include "gtklabel.h"
-#include "gtkalias.h"
#include "gtkintl.h"
+#include "gtkalias.h"
typedef struct
{
#include "gtkinvisible.h"
#include "gtkplug.h"
#include "gtkstock.h"
-#include "gtkalias.h"
#include "gtk.h"
#include "gtkwin32embedwidget.h"
+#include "gtkalias.h"
#define MAX_PAGE_RANGES 20
#define STATUS_POLLING_TIME 2000
done_cb (new_page_setup, data);
g_object_unref (new_page_setup);
}
+
+#define __GTK_PRINT_OPERATION_WIN32_C__
+#include "gtkaliasdef.c"
#include "config.h"
#include "gtkprintutils.h"
+#include "gtkalias.h"
gdouble
_gtk_print_convert_to_mm (gdouble len,
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include "gtkprogress.h"
-#define GTK_DISABLE_DEPRECATED
#include "gtkprivate.h"
#include "gtkintl.h"
#include "gtkalias.h"
#include <config.h>
#include "gtkquartz.h"
+#include "gtkalias.h"
NSImage *
_gtk_quartz_create_image_from_pixbuf (GdkPixbuf *pixbuf)
"recent-manager", manager,
NULL);
}
-
-#define __GTK_RECENT_CHOOSER_DEFAULT_C__
-#include "gtkaliasdef.c"
#include "config.h"
#include "gtkrecentchooserutils.h"
+#include "gtkalias.h"
/* Methods */
static void delegate_set_sort_func (GtkRecentChooser *chooser,
#include <glib.h>
#include "gtksequence.h"
+#include "gtkalias.h"
typedef struct _GtkSequenceNode GtkSequenceNode;
#include <config.h>
#include "gtksignal.h"
-#include "gtkalias.h"
+#include "gtkalias.h"
/* the real parameter limit is of course given by GSignal, bu we need
* an upper limit for the implementations. so this should be adjusted
#include "gtksocket.h"
#include "gtksocketprivate.h"
+#include "gtkalias.h"
GdkNativeWindow
_gtk_socket_windowing_get_id (GtkSocket *socket)
#include "win32/gdkwin32.h"
#include "gtkwin32embed.h"
+#include "gtkalias.h"
GdkNativeWindow
_gtk_socket_windowing_get_id (GtkSocket *socket)
#include "gtkprivate.h"
#include "gtkwidget.h"
-#include "gtkalias.h"
-
#ifdef GDK_WINDOWING_WIN32
#include "gtkicontheme.h"
#include "gtklabel.h"
#define WM_GTK_TRAY_NOTIFICATION (WM_USER+1)
#endif
+#include "gtkalias.h"
+
#define BLINK_TIMEOUT 500
enum
#include "gtkmarshalers.h"
#undef GTK_DISABLE_DEPRECATED
#include "gtkoptionmenu.h"
-#define GTK_DISABLE_DEPRECATED
#include "gtkrc.h"
#include "gtkspinbutton.h"
#include "gtkstyle.h"
#include "gtktextbufferrichtext.h"
#include "gtktextbufferserialize.h"
-#include "gtkalias.h"
#include "gtkintl.h"
+#include "gtkalias.h"
typedef struct
#include "gdk-pixbuf/gdk-pixdata.h"
#include "gtktextbufferserialize.h"
-
#include "gtkintl.h"
+#include "gtkalias.h"
typedef struct
#include "gtkmain.h"
#include "gtkmarshalers.h"
#include "gtkintl.h"
-#include "gtkalias.h"
+#include "gtkalias.h"
#include "gtkseparatormenuitem.h"
#include "gtkintl.h"
#include "gtkmain.h"
-#include "gtkalias.h"
#include "gtkprivate.h"
+#include "gtkalias.h"
#include <string.h>
#include "gtktreemodelfilter.h"
#include "gtkintl.h"
#include "gtktreednd.h"
-#include "gtkalias.h"
#include "gtkprivate.h"
+#include "gtkalias.h"
#include <string.h>
/* ITER FORMAT:
}
}
-#define __GTK_VBBOX_C__
+#define __GTK_VBBOX_C__
#include "gtkaliasdef.c"
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#ifndef __GTK_VBUTTON_BOX_H__
-#define __GTK_VBUTTON_BOX_H__
+#ifndef __GTK_VBBOX_H__
+#define __GTK_VBBOX_H__
#include <gtk/gtkbbox.h>
G_END_DECLS
-#endif /* __GTK_VBUTTON_BOX_H__ */
+#endif /* __GTK_VBBOX_H__ */
#include "gtkwin32embed.h"
+#include "gtkalias.h"
+
static guint message_type[GTK_WIN32_EMBED_LAST];
static GSList *current_messages;
return (msg->lParam & GTK_WIN32_EMBED_FOCUS_WRAPAROUND) != 0;
}
-
-
-
#ifdef G_HAVE_GNUC_VISIBILITY
-#ifndef GTK_DISABLE_DEPRECATED
-#define GTK_DISABLE_DEPRECATED
-#define REENABLE_DEPRECATED
-#endif
-
EOF
if ($do_def) {
}
print <<EOF;
-#ifdef REENABLE_DEPRECATED
-#undef GTK_DISABLE_DEPRECATED
-#endif
-
#endif /* G_HAVE_GNUC_VISIBILITY */
#endif /* DISABLE_VISIBILITY */
EOF
--- /dev/null
+#!/bin/sh
+
+LANG=C
+
+status=0
+
+if ! which readelf 2>/dev/null >/dev/null; then
+ echo "'readelf' not found; skipping test"
+ exit 0
+fi
+
+for so in .libs/lib*.so; do
+ echo Checking $so for local PLT entries
+ readelf -r $so | grep 'JU\?MP_SLOT' | grep '\<gtk' && status=1
+done
+
+exit $status